package com.healthcarex.hip.saas.common.util;

import java.util.ArrayList;
import java.util.List;


public class MapArrayInfo {
	private List<Pair<String, Integer>> paths = new ArrayList<Pair<String, Integer>>();

	public MapArrayInfo() {
	}

	public MapArrayInfo(MapArrayInfo arrayInfo) {
		if (arrayInfo != null) {
			paths.addAll(arrayInfo.paths);
		}
	}

	public void addPath(String path, int index) {
		Pair<String, Integer> value = new Pair<String, Integer>(path, index);
		paths.add(value);
	}

	/**
	 * @return the paths
	 */
	public List<Pair<String, Integer>> getPaths() {
		return paths;
	}
}
